package com.example.xpvideo.entity;

import java.math.BigDecimal;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 砍价记录表(LsBargainLaunch)实体类
 *
 * @author 
 * @since 2021-09-23 12:00:32
 */
@ApiModel("砍价记录表")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class LsBargainLaunch implements Serializable {
    private static final long serialVersionUID = 882162498613694489L;
        /**
    *主键
    * ${column.comment}
    * isnull 1
    */
    @ApiModelProperty(value="$column.comment",position=1)
    private Integer id;

    /**
    * 砍价活动ID
    * isnull 0
    */        @ApiModelProperty(value="砍价活动ID",position=2)
    private Integer bargainId;
    /**
    * 商品ID
    * isnull 0
    */        @ApiModelProperty(value="商品ID",position=3)
    private Integer goodsId;
    /**
    * 用户ID
    * isnull 0
    */        @ApiModelProperty(value="用户ID",position=4)
    private Integer userId;
    /**
    * 订单ID
    * isnull 0
    */        @ApiModelProperty(value="订单ID",position=5)
    private Integer orderId;
    /**
    * 商品规格信息
    * isnull 0
    */        @ApiModelProperty(value="商品规格信息",position=6)
    private String goodsSnap;
    /**
    * 砍价活动快照信息
    * isnull 0
    */        @ApiModelProperty(value="砍价活动快照信息",position=7)
    private String bargainSnap;
    /**
    * 共助力次数(已砍了多少次)
    * isnull 0
    */        @ApiModelProperty(value="共助力次数(已砍了多少次)",position=8)
    private Integer helpNumber;
    /**
    * 砍价活动价格
    * isnull 0
    */        @ApiModelProperty(value="砍价活动价格",position=9)
    private BigDecimal bargainPrice;
    /**
    * 当前砍到的价格
    * isnull 0
    */        @ApiModelProperty(value="当前砍到的价格",position=10)
    private BigDecimal currentPrice;
    /**
    * 砍价发起时间
    * isnull 0
    */        @ApiModelProperty(value="砍价发起时间",position=11)
    private Integer launchStartTime;
    /**
    * 砍价结束时间
    * isnull 0
    */        @ApiModelProperty(value="砍价结束时间",position=12)
    private Integer launchEndTime;
    /**
    * 最后砍价时间 [ 砍成功时间 / 砍失败时间]
    * isnull 0
    */        @ApiModelProperty(value="最后砍价时间 [ 砍成功时间 / 砍失败时间]",position=13)
    private Integer bargainEndTime;
    /**
    * 砍价成功 限制多少时间内付款( 最后砍价成功时间 + 限制时间)
    * isnull 0
    */        @ApiModelProperty(value="砍价成功 限制多少时间内付款( 最后砍价成功时间 + 限制时间)",position=14)
    private Integer paymentLimitTime;
    /**
    * 当前砍价状态[0=进行中，1=砍成功，2=砍失败，3=活动提前结束(保留)]
    * isnull 0
    */        @ApiModelProperty(value="当前砍价状态[0=进行中，1=砍成功，2=砍失败，3=活动提前结束(保留)]",position=15)
    private Object status;
    /**
    * 商家id
    * isnull 0
    */        @ApiModelProperty(value="商家id",position=16)
    private Integer shopId;
    /**
    * 砍价订单编号
    * isnull 0
    */        @ApiModelProperty(value="砍价订单编号",position=17)
    private String bargainSn;
        
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
        
    public Integer getBargainId() {
        return bargainId;
    }

    public void setBargainId(Integer bargainId) {
        this.bargainId = bargainId;
    }
        
    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }
        
    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }
        
    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }
        
    public String getGoodsSnap() {
        return goodsSnap;
    }

    public void setGoodsSnap(String goodsSnap) {
        this.goodsSnap = goodsSnap;
    }
        
    public String getBargainSnap() {
        return bargainSnap;
    }

    public void setBargainSnap(String bargainSnap) {
        this.bargainSnap = bargainSnap;
    }
        
    public Integer getHelpNumber() {
        return helpNumber;
    }

    public void setHelpNumber(Integer helpNumber) {
        this.helpNumber = helpNumber;
    }
        
    public BigDecimal getBargainPrice() {
        return bargainPrice;
    }

    public void setBargainPrice(BigDecimal bargainPrice) {
        this.bargainPrice = bargainPrice;
    }
        
    public BigDecimal getCurrentPrice() {
        return currentPrice;
    }

    public void setCurrentPrice(BigDecimal currentPrice) {
        this.currentPrice = currentPrice;
    }
        
    public Integer getLaunchStartTime() {
        return launchStartTime;
    }

    public void setLaunchStartTime(Integer launchStartTime) {
        this.launchStartTime = launchStartTime;
    }
        
    public Integer getLaunchEndTime() {
        return launchEndTime;
    }

    public void setLaunchEndTime(Integer launchEndTime) {
        this.launchEndTime = launchEndTime;
    }
        
    public Integer getBargainEndTime() {
        return bargainEndTime;
    }

    public void setBargainEndTime(Integer bargainEndTime) {
        this.bargainEndTime = bargainEndTime;
    }
        
    public Integer getPaymentLimitTime() {
        return paymentLimitTime;
    }

    public void setPaymentLimitTime(Integer paymentLimitTime) {
        this.paymentLimitTime = paymentLimitTime;
    }
        
    public Object getStatus() {
        return status;
    }

    public void setStatus(Object status) {
        this.status = status;
    }
        
    public Integer getShopId() {
        return shopId;
    }

    public void setShopId(Integer shopId) {
        this.shopId = shopId;
    }
        
    public String getBargainSn() {
        return bargainSn;
    }

    public void setBargainSn(String bargainSn) {
        this.bargainSn = bargainSn;
    }

        @Override
    public String toString() {
        return "{" +
                    " \"id\":" + id +
                                  " ,\"bargainId\":" + bargainId +
                            " ,\"goodsId\":" + goodsId +
                            " ,\"userId\":" + userId +
                            " ,\"orderId\":" + orderId +
                            " ,\"goodsSnap\":" + goodsSnap +
                            " ,\"bargainSnap\":" + bargainSnap +
                            " ,\"helpNumber\":" + helpNumber +
                            " ,\"bargainPrice\":" + bargainPrice +
                            " ,\"currentPrice\":" + currentPrice +
                            " ,\"launchStartTime\":" + launchStartTime +
                            " ,\"launchEndTime\":" + launchEndTime +
                            " ,\"bargainEndTime\":" + bargainEndTime +
                            " ,\"paymentLimitTime\":" + paymentLimitTime +
                            " ,\"status\":" + status +
                            " ,\"shopId\":" + shopId +
                            " ,\"bargainSn\":" + bargainSn +
                  '}';
    }


}
